<%@page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<%
	String path =request.getContextPath();
%>
<head>
    <meta http-equiv="x-ua-compatible" content="ie=7" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script language="javascript" type="text/javascript" src="<%=path%>/js/validatorTool.js"></script>
    <script language="javascript" type="text/javascript">
    	function exportData(){
    		form1.action="<%=path%>/order/exportExeOrderData?isList=Y";
    		form1.submit();
    	}
    	
    	function qryData(){
    		form1.action="<%=path%>/order/qryOrderExeInfo";
    		form1.submit();
    	}
    </script>
    
</head>
<body class="fullbody">
            <div class="context">
                <div class="position">
                    <div class="tposi">当前位置：
                       	<a href="javascript:changeMenu(1,'<%=path%>/infopub/pubmain?menuid=1');"class="linkstyle">首页</a>&nbsp;&gt;&gt;&nbsp;
                        <a href="javascript:changeMenu(3,'');" class="linkstyle">我的订单\合同</a>&nbsp;&gt;&gt;&nbsp; 
                        <span class="curposition">订单执行情况跟踪</span>
                    </div>
                    <div class="help">
						<a href="javascript:void(null);" onclick="doHelp('<%=request.getContextPath()%>/help/html/DDZXQKGZ.html');" class="linkstyle">帮助</a>
					</div>
                </div>
                <div class="margin8"></div>
                <div class="subpage_title">
                    <div class="title_index">
                        <img src="<%=path%>/images/common/dot03.gif" alt="" border="0" />&nbsp;订单执行情况跟踪</div>
                </div>
                <div class="margin20"></div>
                <div class="subpage_bidlist">
                    <div class="subpage_search" >
                    	<form name="form1"   method="post">
                      		<table border="0" cellpadding="0" cellspacing="0" class="searchtable">
	                            <tr>
	                                <td valign="middle" class="w_1">订单号：</td>
	                                <th valign="middle" class="w_2">
	                                    <input type="text" class="searchtext" name="qryOrderNo"  value="${qryOrderNo}"  />
	                                </th>
	                                <td valign="middle" class="w_1">合同号：</td>
	                                <th valign="middle" class="w_2">
	                                   <input type="text" class="searchtext" name="qryContractNo"  value="${qryContractNo}"  />
	                                </th>
	                            </tr>
	                            <tr>
	                                <td valign="middle" class="w_1">订单日期：</td>
	                                <th valign="middle" class="w_2">
	                                     <input id="qryOrderBeginDate" name="qryOrderBeginDate" type="text" 
	                                     	onclick="return showCalendar('qryOrderBeginDate', 'y-mm-dd');"
	                                     	value="${qryOrderBeginDate}"   readonly="readonly"  class="searchdate" />&nbsp;至&nbsp;
				                         <input id="qryOrderEndDate" name="qryOrderEndDate" type="text"
				                         	onclick="return showCalendar('qryOrderEndDate', 'y-mm-dd');" 
				                         	value="${qryOrderEndDate}"  onclick="WdatePicker();" readonly="readonly"  class="searchdate" />
	                                </th>
	                                <td valign="middle" class="w_1">采购公司：</td>
	                                <th valign="middle" class="w_2">
	                                   <input type="text" class="searchtext" name="qryPurCorp"  value="${qryPurCorp}"  />
	                                </th>
	                            </tr>
	                            <tr>
	                                <td valign="middle" class="w_1">开票供应商：</td>
	                                <th valign="middle" class="w_2" >
	                                    <input type="text" class="searchtext" name="qryInvoiceSup"  value="${qryInvoiceSup}"/>
	                                </th>
	                                <td class="queryTdCss" colspan="2">&nbsp;</td>
	                            </tr>
	                           <tr><td colspan="4">&nbsp;</td></tr>
	                            <tr>
	                                <td valign="middle" colspan="4" align="center">
	                                    <input type="button" class="btnscs" value="查询" onclick="qryData()"/>&nbsp;&nbsp;
	                                    <input type="button" class="btnscs" value="取消" onclick="resetData()"/>&nbsp;&nbsp;
	                                    <input type="button" class="btnscs" value="导出" onclick="exportData()"   <c:if test="${orderForms==null}">disabled</c:if>/>
	                                </td>
	                            </tr>
	                        </table>
                        </form>
                    </div>
                    <div class="margin20"></div>
                    <div>
                        <table  class="tableCss" cellpadding="0" cellspacing="0">
                            <tr class="titleTr">
                                <th width="152px">采购订单号</th>
                                <th width="169px">采购公司</th>
                                <th width="113px">订单日期</th>
                                <th width="174px">开票供应商</th>
                                <th width="192px" class="th1">收付款协议 </th>
                            </tr>
                            <c:if test="${orderForms!=null}">
								<c:forEach items="${orderForms}" var="orderForm" varStatus="index">
									<c:if test="${orderForm.index % 2==1}">
										<tr align="left" class="contTr-old"  >
									</c:if>
									<c:if test="${orderForm.index % 2==0}">
										<tr align="left" class="contTr-even">
									</c:if>
										<td class="td1"><a href="<%=path%>/order/exeinfoDetail?pkOrder=${orderForm.pkOrder}" >${orderForm.billNo}</a></td>
										<td class="td1">${orderForm.purCorpName}&nbsp;</td>
										<td class="td1"><font class="words-blue">${orderForm.ordeDate}</font>&nbsp;</td>
										<td class="td1">${orderForm.invoiceSuppName}&nbsp;</td>
										<td class="td1">${orderForm.protocolName}&nbsp;</td>
									</tr>
								</c:forEach>
							</c:if>
                        </table>
                    </div>
                </div>
            </div>
        <div class="margin20"></div>
        <div class="margin8">
                    	<table align="left">
							<tr class="title">
								<td>
									<div id="message" class="msgcolor">${system_err_msg}</div>
								</td>
							</tr>
						</table>
					</div> 
<!--    </div>-->
</body>
</html>
